home *** CD-ROM | disk | FTP | other *** search
- this.stop();
- SoundObj = new Sound(this);
- SoundObj.attachSound("bgm");
- SoundObj.start(0,9999);
- score = 0;
- time_num = 10;
- mc.startDrag(this);
- seed_num = 0;
- tool_num = 0;
- total_cost = 0;
- success_seed = 0;
- good_seed = 0;
- var i = 1;
- while(i <= 6)
- {
- this["good_seed" + i] = false;
- this["price_seed" + i] = 0;
- this["get_seed" + i] = 30;
- this["cost_seed" + i] = 0;
- this["give_seed" + i] = 2;
- i++;
- }
- this.cost_bugs = 2;
- this.cost_tonic = 2;
- time_i = 0;
- FNend = function()
- {
- delete this.onEnterFrame;
- var _loc2_ = 1;
- while(_loc2_ <= 10)
- {
- if(this["earth" + _loc2_]._currentframe >= 33)
- {
- this["earth" + _loc2_].stop();
- }
- _loc2_ = _loc2_ + 1;
- }
- this.time_mc.gotoAndPlay(2);
- };
- this.onEnterFrame = function()
- {
- trace(total_cost);
- time_i++;
- if(time_i % (24 * time_num) == 0)
- {
- this.menu_mc.calendar_mc.play();
- }
- if(success_seed == 10)
- {
- FNend();
- }
- };
-